<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>贪吃蛇</title>
</head>

<body>
  <!-- 创建贪吃蛇容器 -->
  <div id="main">

    <!-- 设置游戏舞台 -->
    <div id="stage">

      <!-- 设置蛇的容器 -->
      <div id="snake">
        <!-- 蛇的身体部分 -->
        <div></div>
      </div>

      <!-- 设置食物 -->
      <div id="food">
        <!-- 装饰食物 -->
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
    </div>

    <!-- 设置记分牌 -->
    <div id="scoreboard">
      <div>
        SCORE:<span id="score">0</span>
      </div>
      <div>
        LEVEL:<span id="level">1</span>
      </div>
    </div>
  </div>
  <!-- 键盘 -->
  <div id="keyboard">
    <div><i class="icon-circle-up"></i></div>
    <div>
      <i class="icon-circle-left"></i>
      <i class="icon-circle-right"></i>
    </div>
    <div><i class="icon-circle-down"></i></div>
  </div>
</body>

</html>